# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gudev-sharp
pkgver=0.1
_pkgver=GUDEV_SHARP_0_1-0-g2c53e2f
_git=cd3e7df
pkgrel=3
pkgdesc="Gudev mono bindings"
arch=('any')
url="http://github.com/mono/gudev-sharp"
license=('LGPL')
depends=('gtk-sharp-2')
source=(mono-$pkgname-$_pkgver.tar.gz::https://github.com/mono/gudev-sharp/zipball/GUDEV_SHARP_0_1)
md5sums=('b8041b87c4d54d2081b70bff50897049')

build() {
  cd "$srcdir/mono-$pkgname-$_git"

  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "$srcdir/mono-$pkgname-$_git"

  make DESTDIR="$pkgdir/" install
}
